.TH MSTFWRESET "1" "March 2020" "mstflint" "User Commands"
.SH NAME
mstfwreset \- Query and perform reset operation on the device
.SH DESCRIPTION
usage: mstfwreset \fB\-\-device\fR DEVICE [\-\-level {0,3,4,5}] [\-\-type {0,1}] [\-\-yes]
.IP
[\-\-skip_driver] [\-\-mst_flags MST_FLAGS] [\-\-version] [\-\-help]
[\-\-skip_fsm_sync]
{q,query,r,reset,reset_fsm_register}
.SS "mstfwreset : The tool provides the following functionality in order to load new firmware:"
.IP
1. Query the device for the supported reset\-level and reset\-type
2. Perform reset operation on the device
.SH OPTIONS
.TP
\fB\-\-device\fR DEVICE, \fB\-d\fR DEVICE
Device to work with
.TP
\fB\-\-level\fR {0,3,4,5}, \fB\-l\fR {0,3,4,5}
Run reset with the specified reset\-level
.TP
\fB\-\-type\fR {0,1}, \fB\-t\fR {0,1}
Run reset with the specified reset\-type
.TP
\fB\-\-yes\fR, \fB\-y\fR
answer "yes" on prompt
.TP
\fB\-\-skip_driver\fR, \fB\-s\fR
Skip driver start/stop stage (driver must be stopped
manually)
.TP
\fB\-\-mst_flags\fR MST_FLAGS, \fB\-m\fR MST_FLAGS
Provide mst flags to be used when invoking mst restart
step. For example: \fB\-\-mst_flags=\fR"\-\-with_fpga"
.TP
\fB\-\-version\fR, \fB\-v\fR
Print tool version
.TP
\fB\-\-help\fR, \fB\-h\fR
show this help message and exit
.TP
\fB\-\-skip_fsm_sync\fR
Skip fsm syncing
.SS "Commands:"
.IP
{q,query,r,reset,reset_fsm_register}
.IP
query: Query reset Level. reset: Execute reset.
reset_fsm_register: Reset the fsm register.
.SS "Reset levels:"
.IP
0: Driver, PCI link, network link will remain up ("live\-Patch")
3: Driver restart and PCI reset
4: Warm Reboot
5: Cold Reboot
.SS "Reset types:"
.IP
0: Full chip reset
1: Phy\-less reset ("port\-alive" \- network link will remain up)
.SH "SEE ALSO"
.B mstflint(1)
